package com.example.demo.event;

import org.springframework.context.ApplicationEvent;

public class NoticeEvent extends ApplicationEvent {
    private final String message;
    public NoticeEvent(String source) {
        super(source);
        this.message=source;
    }

    public String getMessage() {
        return message;
    }
}
